from zope.interface import Interface
# -*- Additional Imports Here -*-
from zope import schema

from my315ok.xtinfocontent import xtinfocontentMessageFactory as _


class Ihouseinfo(Interface):
    """a information about house salling,letting etc."""

    # -*- schema definition goes here -*-
    category = schema.TextLine(
        title=_(u"info category"),
        required=True,
        description=_(u""),
    )
#
    district = schema.TextLine(
        title=_(u"district"),
        required=True,
        description=_(u""),
    )
#
    cell = schema.TextLine(
        title=_(u"house belongto cell"),
        required=False,
        description=_(u""),
    )
#
    area = schema.Float(
        title=_(u"area(m*m)"),
        required=True,
        description=_(u""),
    )
#
    roomstype = schema.TextLine(
        title=_(u"rooms type"),
        required=False,
        description=_(u""),
    )
#
    decoration = schema.TextLine(
        title=_(u"decoration status"),
        required=False,
        description=_(u""),
    )
#
    types = schema.TextLine(
        title=_(u"house types"),
        required=False,
        description=_(u""),
    )
#
    height = schema.Int(
        title=_(u"building height"),
        required=False,
        description=_(u""),
    )
#
    fnumber = schema.Int(
        title=_(u"floor number"),
        required=False,
        description=_(u""),
    )
#
    position = schema.TextLine(
        title=_(u"detail position"),
        required=False,
        description=_(u""),
    )
#
    price = schema.Int(
        title=_(u"refer price"),
        required=False,
        description=_(u""),
    )
#
    infoeffective = schema.Date(
        title=_(u"information effective date"),
        required=False,
        description=_(u""),
    )
#
    memo = schema.TextLine(
        title=_(u"information memo"),
        required=False,
        description=_(u""),
    )
#
    name = schema.TextLine(
        title=_(u"contact name"),
        required=False,
        description=_(u""),
    )
#
    mailaddress = schema.TextLine(
        title=_(u"mail address"),
        required=False,
        description=_(u""),
    )
#
    phone = schema.TextLine(
        title=_(u"phone number"),
        required=False,
        description=_(u""),
    )
#
    qqnumber = schema.Int(
        title=_(u"QQ number"),
        required=False,
        description=_(u""),
    )
#
